package com.diaohaiwen.common.obj.page;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页所需参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CurrentPageDto {

    /**
     * 当前页，从1开始
     *
     * @mock 1
     */
    private int current = 1;
    /**
     * 每页显示条数
     *
     * @mock 10
     */
    private int size = 10;


}
